package com.weds.edpf.core .service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.List;

import com.weds.core.base.BaseService;
import com.weds.edpf.core.mapper .JrealNowcmdMapper;
import com.weds.edpf.core.entity .JrealNowcmdEntity;

/**
 * @Author sxm
 * @Description JrealNowcmd管理
 * @Date 2020-06-15
 */
@Service
public class JrealNowcmdService extends BaseService {

	@Autowired
	private JrealNowcmdMapper jrealNowcmdMapper;

	private Logger log = LogManager.getLogger();

	public int deleteByPrimaryKey(Integer jcmdsig) {
		return jrealNowcmdMapper.deleteByPrimaryKey(jcmdsig);
	}

	public int insert(JrealNowcmdEntity record) {
		return jrealNowcmdMapper.insert(record);
	}

	public int insertSelective(JrealNowcmdEntity record) {
		return jrealNowcmdMapper.insertSelective(record);
	}

	public JrealNowcmdEntity selectByPrimaryKey(Integer jcmdsig) {
		return jrealNowcmdMapper.selectByPrimaryKey(jcmdsig);
	}

	public int updateByPrimaryKeySelective(JrealNowcmdEntity record) {
		return jrealNowcmdMapper.updateByPrimaryKeySelective(record);
	}

	public int updateByPrimaryKey(JrealNowcmdEntity record) {
		return jrealNowcmdMapper.updateByPrimaryKey(record);
	}

    	public List<JrealNowcmdEntity> selectListByEntity(JrealNowcmdEntity record) {
		return jrealNowcmdMapper.selectListByEntity(record);
	}
	
	

        public int deleteBatchByKeys(List<JrealNowcmdEntity> list) {
        return jrealNowcmdMapper.deleteBatchByKeys(list);
    }
    
    	public int insertBatch(List<JrealNowcmdEntity> list) {
		return jrealNowcmdMapper.insertBatch(list);
	}
	}
